<!--
 * @Description: 
 * @Author: zwx
 * @Date: 2024-11-05 09:33:43
 * @LastEditors: zwx
 * @LastEditTime: 2024-11-05 09:58:13
 * @又活了一天: 你真厉害！！！
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>11.5</title>
    <style>
        /* div span{
            color : red
        } */
        div>span{
            color : red
        }
        #myHover:hover{
            color: greenyellow;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div>
        <table>
            <tr>
                <td><span>子元素1</span></td>
            </tr>
        </table>
        <tr>
            <td>
                <span>子元素1的子元素1</span>
                <span>子元素1的子元素2</span>
                <h2>伪类选择器</h2>
                <div>伪类选择器</div>
            </td>
        </tr>
        
    
</body>
</html>